<template>
  <div class="base-alert" v-show="showMsg">
    <div class="wrap">
      <div class="btn-base btn-close" @click="hideMsg">
      </div>
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "msg",
  data(){
    return{

    }
  },
  props:['showMsg'],
  methods:{
    hideMsg(){
      this.$emit('hide');
    }
  }
}
</script>

<style scoped>

</style>
